﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using IntoNails.Infrastructure.ViewModels;
using Microsoft.Practices.Prism.Commands;

namespace IntoNails.ViewModels
{
    public class LoginViewModel : AbstractViewModel
    {
        private string _username;
        private string _password;

        #region Properties

        public string Username
        {
            get { return this._username; }
            set
            {
                this._username = value;
                base.RaisePropertyChanged(() => Username);
            }
        }

        public string Password
        {
            get { return this._password; }
            set
            {
                this._password = value;
                base.RaisePropertyChanged(() => Password);
            }
        }

        #endregion

        #region Commands

        public ICommand LoginCommand { get; private set; }

        public ICommand ExitCommand { get; private set; }

        #endregion

        #region Overridens

        protected override void RegisterCommands()
        {
            this.LoginCommand = new DelegateCommand(this.ExecuteLoginCommand);
        }

        #endregion

        #region Command Actions

        private void ExecuteLoginCommand()
        {
            
        }

        #endregion
    }
}
